<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>
<script type="text/javascript">
	/*将匿名函数赋值给一个变量，并且通过变量名进行调用*/
	const getName=function (name) {
		return name
	}
 	const res= getName("马云")
</script>
</body>
</html>